Skip to content

fix(models): repair Bielik download - #264

Merged
kfaracik merged 2 commits into
mainfrom
fix/bielik-download-url
Jul 30, 2026
Merged

fix(models): repair Bielik download#264
kfaracik merged 2 commits into
mainfrom
fix/bielik-download-url

Conversation

@kfaracik

@kfaracik kfaracik commented Jul 29, 2026

Copy link
Copy Markdown
Member

The Bielik entry was the only default model with hand-written download URLs, pinned to resolve/main of the HF repo. The repo moved its files (bielik-v3.0-1.5B/quantized/... -> xnnpack/...), so the stored model URL started returning 404.

  • source Bielik paths from the BIELIK_V3_0_1_5B_QUANTIZED constant of react-native-executorch, which is pinned to a version tag
  • refresh stale built-in download paths on migration for undownloaded rows (seeding uses INSERT OR IGNORE, so existing installs kept the dead URL forever)
  • re-sync built-in paths when a downloaded model's files are removed, so an immediate re-download uses current URLs
  • correct Bielik modelSize to the actual file size (0.86 GiB)

Closes #262

The Bielik entry was the only default model with hand-written download
URLs, pinned to resolve/main of the HF repo. The repo moved its files
(bielik-v3.0-1.5B/quantized/... -> xnnpack/...), so the stored model URL
started returning 404.

- source Bielik paths from the BIELIK_V3_0_1_5B_QUANTIZED constant of
  react-native-executorch, which is pinned to a version tag
- refresh stale built-in download paths on migration for undownloaded
  rows (seeding uses INSERT OR IGNORE, so existing installs kept the
  dead URL forever)
- re-sync built-in paths when a downloaded model's files are removed,
  so an immediate re-download uses current URLs
- correct Bielik modelSize to the actual file size (0.86 GiB)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
private-mind Error Error Jul 29, 2026 10:58am

Request Review

@kfaracik kfaracik self-assigned this Jul 29, 2026
@kfaracik kfaracik added the bug Something isn't working label Jul 29, 2026
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

@NorbertKlockiewicz NorbertKlockiewicz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works

@kfaracik
kfaracik merged commit 7fbb403 into main Jul 30, 2026
2 of 3 checks passed
@kfaracik
kfaracik deleted the fix/bielik-download-url branch July 30, 2026 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bielik model fails to download

2 participants